public: make some constants usable for assembler
authorJuergen Gross <jgross@suse.com>
Wed, 17 Feb 2016 15:21:20 +0000 (16:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Feb 2016 15:21:20 +0000 (16:21 +0100)
commit936f34c2175ff27c7f9f63c4bbd7fdf2c736c05f
treed335ee048dca85b16bcf04d5e709b1bf0ff26afd
parent64290e78ac4c07e2bba5f99e724c53b54b7e11e8
public: make some constants usable for assembler

Some constants defined in xen/include/public/xen.h are not usable in
assembler sources as they are either defined with "U" or "UL" suffixes
or they are inside #ifndef __ASSEMBLY__ areas.

Change this as grub2 could make use of those definitions.

This requires to move the definition of mk_unsigned_long() up. While
we are touching this macro, rename it in order to avoid namespace
pollution. This in turn requires adaption of some arch-x86 specific
headers.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/arch-x86/xen-x86_32.h
xen/include/public/arch-x86/xen-x86_64.h
xen/include/public/xen.h